<html>
<head><meta charset="utf-8"><title>Edition 2021 Blog Post · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html">Edition 2021 Blog Post</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="238324756"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238324756" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238324756">(May 11 2021 at 15:13)</a>:</h4>
<p>Blog post is live! <a href="https://blog.rust-lang.org/2021/05/11/edition-2021.html">https://blog.rust-lang.org/2021/05/11/edition-2021.html</a></p>



<a name="238365731"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238365731" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238365731">(May 11 2021 at 19:07)</a>:</h4>
<p>This mentions that the</p>
<blockquote>
<p>In addition, core::panic!() and std::panic!() will be identical in Rust 2021.</p>
</blockquote>
<p>Can you elaborate in what ways these were different that have been made identical? Because as far as I can see from the code, we still have two distinct implementations of panicking and <code>std</code> and <code>core</code> still dispatch to their own implementations.</p>



<a name="238365921"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238365921" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238365921">(May 11 2021 at 19:08)</a>:</h4>
<p>Oh, I see, libstd actually just reexports the core's <code>panic_2021!</code>. Good.</p>



<a name="238366415"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238366415" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238366415">(May 11 2021 at 19:12)</a>:</h4>
<p><span class="user-mention" data-user-id="123586">@nagisa</span> until some versions ago, <code>core::panic!("123")</code> resulted in a <code>String</code> and <code>std::panic!("123")</code> resulted in a <code>&amp;str</code> being thrown (in the Box&lt;Any&gt;). also, core::panic!() accepted non-'static strs, but std::panic!() didn't. and std::panic!() accepted non-strings, but core::panic!() didn't.</p>



<a name="238366939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238366939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238366939">(May 11 2021 at 19:16)</a>:</h4>
<p>can someone post the blog post on the rustlang twitter account? would be good to reach a lot  of people ^^ (cc <span class="user-mention" data-user-id="116122">@simulacrum</span> <span class="user-mention" data-user-id="121055">@Pietro Albini</span>)</p>



<a name="238366989"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238366989" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238366989">(May 11 2021 at 19:16)</a>:</h4>
<p><span class="user-mention" data-user-id="116011">@Steve Klabnik</span> usually handles twitter</p>



<a name="238367073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238367073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Steve Klabnik <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238367073">(May 11 2021 at 19:17)</a>:</h4>
<p>ah, sure!</p>



<a name="238367092"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238367092" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Steve Klabnik <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238367092">(May 11 2021 at 19:17)</a>:</h4>
<p>sorry, has been quite the day so far. will tweet now</p>



<a name="238367135"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238367135" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238367135">(May 11 2021 at 19:17)</a>:</h4>
<p>oh, thanks! :)</p>



<a name="238367238"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Edition%202021%20Blog%20Post/near/238367238" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Steve Klabnik <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Edition.202021.20Blog.20Post.html#238367238">(May 11 2021 at 19:18)</a>:</h4>
<p><a href="https://twitter.com/rustlang/status/1392197306049601540">https://twitter.com/rustlang/status/1392197306049601540</a></p>
<div class="inline-preview-twitter"><div class="twitter-tweet"><a href="https://twitter.com/rustlang/status/1392197306049601540"><img class="twitter-avatar" src="https://uploads.zulipusercontent.net/f434d17b4da0a21ed9126d67157c1ed6317dd5f4/68747470733a2f2f7062732e7477696d672e636f6d2f70726f66696c655f696d616765732f323339323437333336332f7637747868726a7039706471726b6474787870305f6e6f726d616c2e706e67"></a><p>The Plan for the Rust 2021 Edition <a href="https://t.co/NgSFP7CAPK">https://blog.rust-lang.org/2021/05/11/edition-2021.html</a></p><span>- Rust Language (@rustlang)</span></div></div>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>